package com.example.model.title.service;

import com.alibaba.fastjson.JSONObject;
import com.example.db.model.IPage;
import com.example.model.TreeModel;
import com.example.model.title.model.ChannelModel;

import java.util.List;

/**
 * @Classname ChannelModelService
 * @Description TODO
 * @Date 2022/8/7 1:04
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public interface ChannelModelService {

    public IPage<ChannelModel> page(Integer pageNumber, Integer pageSize, JSONObject obj);

    public ChannelModel save(ChannelModel channelModel);

    public ChannelModel update(ChannelModel channelModel);

    public ChannelModel getId(Object id);

    public List<TreeModel> treeModelList();

    public List<ChannelModel> channelModelList();

    public List<ChannelModel> channelModelchildList(Object id);
}
